import Vue from 'vue'
import App from './App.vue'
import router from "./router/router"
import store from "./store"
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false

import Alter from "./components/alter_com"  //自定义组件
Vue.use(Alter)

import remind from './components/remind'  //自定义组件 弹窗
Vue.use(remind)

import playlistCreated from "./components/playlist_created" //自定义创建歌单/视频歌单
Vue.use(playlistCreated)

import copyright from "./components/copyright" //自定义组件 版权
Vue.use(copyright)

import shou_cang from './components/shou_cang' //自定义组件收藏弹窗
Vue.use(shou_cang)

import login from "./components/loging_box"  //自定义登录组件
Vue.use(login)

import vip from "./components/vip_box"   //自定义vip组件
Vue.use(vip)

import pay from './components/playright_pay'
Vue.use(pay)

Vue.use(ElementUI);
Vue.prototype.$bus = new Vue()  //事件总线

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')